package com.room.search.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Objects;

/**
 * A DTO for the {@link com.room.search.domain.RoomSupportingFacilities} entity.
 */
@ApiModel(description = "配套设施")
public class RoomSupportingFacilitiesDTO implements Serializable {

    private Long id;

    /**
     * 洗衣机
     */
    @ApiModelProperty(value = "洗衣机")
    private Boolean washer;

    /**
     * 空调
     */
    @ApiModelProperty(value = "空调")
    private Boolean airCondition;

    /**
     * 热水器
     */
    @ApiModelProperty(value = "热水器")
    private Boolean waterHeater;

    /**
     * 床
     */
    @ApiModelProperty(value = "床")
    private Boolean bed;

    /**
     * 暖气
     */
    @ApiModelProperty(value = "暖气")
    private Boolean heating;

    /**
     * 衣柜
     */
    @ApiModelProperty(value = "衣柜")
    private Boolean wardrobe;

    /**
     * 冰箱
     */
    @ApiModelProperty(value = "冰箱")
    private Boolean refrigerator;

    /**
     * 天然气
     */
    @ApiModelProperty(value = "天然气")
    private Boolean naturalGas;

    /**
     * 宽带
     */
    @ApiModelProperty(value = "宽带")
    private Boolean internet;

    /**
     * 电视
     */
    @ApiModelProperty(value = "电视")
    private Boolean television;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Boolean getWasher() {
        return washer;
    }

    public void setWasher(Boolean washer) {
        this.washer = washer;
    }

    public Boolean getAirCondition() {
        return airCondition;
    }

    public void setAirCondition(Boolean airCondition) {
        this.airCondition = airCondition;
    }

    public Boolean getWaterHeater() {
        return waterHeater;
    }

    public void setWaterHeater(Boolean waterHeater) {
        this.waterHeater = waterHeater;
    }

    public Boolean getBed() {
        return bed;
    }

    public void setBed(Boolean bed) {
        this.bed = bed;
    }

    public Boolean getHeating() {
        return heating;
    }

    public void setHeating(Boolean heating) {
        this.heating = heating;
    }

    public Boolean getWardrobe() {
        return wardrobe;
    }

    public void setWardrobe(Boolean wardrobe) {
        this.wardrobe = wardrobe;
    }

    public Boolean getRefrigerator() {
        return refrigerator;
    }

    public void setRefrigerator(Boolean refrigerator) {
        this.refrigerator = refrigerator;
    }

    public Boolean getNaturalGas() {
        return naturalGas;
    }

    public void setNaturalGas(Boolean naturalGas) {
        this.naturalGas = naturalGas;
    }

    public Boolean getInternet() {
        return internet;
    }

    public void setInternet(Boolean internet) {
        this.internet = internet;
    }

    public Boolean getTelevision() {
        return television;
    }

    public void setTelevision(Boolean television) {
        this.television = television;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof RoomSupportingFacilitiesDTO)) {
            return false;
        }

        RoomSupportingFacilitiesDTO roomSupportingFacilitiesDTO = (RoomSupportingFacilitiesDTO) o;
        if (this.id == null) {
            return false;
        }
        return Objects.equals(this.id, roomSupportingFacilitiesDTO.id);
    }

    @Override
    public int hashCode() {
        return Objects.hash(this.id);
    }

    // prettier-ignore
    @Override
    public String toString() {
        return "RoomSupportingFacilitiesDTO{" +
            "id=" + getId() +
            ", washer='" + getWasher() + "'" +
            ", airCondition='" + getAirCondition() + "'" +
            ", waterHeater='" + getWaterHeater() + "'" +
            ", bed='" + getBed() + "'" +
            ", heating='" + getHeating() + "'" +
            ", wardrobe='" + getWardrobe() + "'" +
            ", refrigerator='" + getRefrigerator() + "'" +
            ", naturalGas='" + getNaturalGas() + "'" +
            ", internet='" + getInternet() + "'" +
            ", television='" + getTelevision() + "'" +
            "}";
    }
}
